import Vue from 'vue'
import Router from 'vue-router'
import {routers} from './router'
Vue.use(Router)
const routerConfig = {
  scrollBehavior: () => ({ y: 0 }),
  routes: routers
}
export const router = new Router(routerConfig)
